import { createSlice } from '@reduxjs/toolkit';

const newMessageSlice = createSlice({
	name: 'agent',
	initialState: {},
	reducers: {
		setMessage(state, action) {
			return action.payload;
		}
	}
});

export const { setMessage } = newMessageSlice.actions;
export default newMessageSlice.reducer;
